package com.example.demo.entity;

import lombok.Data;

import java.util.Date;

@Data
public class Prize {
    /**
     * 奖品主键
     */
    private Integer prizeId;

    /**
     * 奖项名称
     */
    private String prizeName;

    /**
     * 奖品描述
     */
    private String prizeDes;

    /**
     * 设立时间
     */
    private Date createTime;

    /**
     * 状态(0:启用  1:未启用)
     */
    private Integer status;

    /**
     * 中奖率
     */
    private Double probability;

    /**
     * 图片路径
     */
    private String picPath;

    /**
     * 中奖次数
     */
    private Long luckyCount;

    /*public Prize(Integer prizeId, String prizeName, String prizeDes, Double probability, Long luckyCount) {
        this.prizeId = prizeId;
        this.prizeName = prizeName;
        this.prizeDes = prizeDes;
        this.probability = probability;
        this.luckyCount = luckyCount;
    }*/
}
